package com.personnel.common;

/**
 *  返回结果消息提示常量类
 */
public class MessageConstant {
    //---------------------------操作消息提示信息------------------------------------------------------
    public static final String SEARCH_SUCCESS="查询信息成功！";
    public static final String SEARCH_ERROR="查询信息失败！";
    public static final String ADD_SUCCESS="新增信息成功！";
    public static final String ADD_FAIL="新增信息失败！";
    public static final String UPDATE_SUCCESS="更新信息成功！";
    public static final String DELETE_SUCCESS="删除信息成功！";
    public static final String PIC_UPLOAD_SUCCESS="图片上传成功！";
    public static final String PIC_DEL_SUCCESS = "图片删除成功！";
    public static final String FIND_BY_ID_SUCCESS = "根据主键获取对象成功！";
    public static final String UPDATE_STATUS_SUCCESS = "状态信息更新成功！";
    //---------------------------系统提示信息----------------------------------------------------------
    public static final String SYSTEM_BUSY = "系统繁忙，请求稍后重试！";
    //---------------------------文件上传提示信息-------------------------------------------------------
    public static final String NO_FILE_SELECTED = "未选择上传的文件,请求选择后上传!";
    public static final String NO_WRITE_PERMISSION = "上传目录没有写权限!";
    public static final String INCORRECT_DIRECTORY_NAME = "目录名不正确!";
    public static final String SIZE_EXCEEDS_LIMIT = "上传文件大小超过限制!";
    public static final String FILE_TYPE_ERROR = "文件类型错误，只允许上传JPG/PNG/JPEG/GIF等图片类型的文件!";
    //---------------------------登录提示信息-------------------------------------------------------
    public static final String SEARCH_USER_SUCCESS="查询用户成功！";
    public static final String SEARCH_USER_ERROR="账号或密码错误！";
    public static final String USER_Action_ERROR="账号已被停用！请联系管理员";
}
